package pro01;

public class Simulator {
	Animal animal;
	public void playSound(Animal animal) {
		this.animal =animal;
	}
	public void showMess() {
		System.out.println("种类名称："+animal.getAnimalName());
		animal.cry();
	}

}
